import http from './axiosAjax'

export default {
    getConfigJson: (params, formData) => { // 示例
        if (formData) {
            return http.fetchPost('/nzcgjsms/api/AppService.ashx', params, formData)
            // return http.fetchPost('/TestNzcgjsms/api/AppService.ashx', params, formData)
        } else {
            return http.fetchPost('/nzcgjsms/api/AppService.ashx', params)
            // return http.fetchPost('/TestNzcgjsms/api/AppService.ashx', params)
        }
    }
}
